﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace TEST_SCCM_MVC_01.Models
{
    public class Settings
    {
        [StringLength(8, MinimumLength=8)]
        public string DeploymentOSRoot { get; set; }

        [StringLength(8, MinimumLength = 8)]
        public string DeploymentRoomRoot { get; set; }

        [RegularExpression(@"A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}")]
        public string AdminMail { get; set; }

        public string SCCMUsername { get; set; }
        public string SCCMPassword { get; set; }
    }
}